<?php echo $html->script(array('jquery')); ?>
<div class="columns clear bt-space10">
                    	<div class="col1-4 center">
                        	<img class="bt-space10" src="img/avatar.png"/>
                        	<div class="left">
                        		<table class="basic" cellspacing="0">
                                    <tbody>
                                    <tr>
                                        <th>MSSV</th>
                                        <td class="full value"><?php echo $member['UnionMember']['id']?></td>
                                    </tr>
                                    <tr>
                                        <th>Họ tên</th>
                                        <td class="full value"><?php echo $member['UnionMember']['name']?></td>
                                    </tr>
                                    <tr>
                                        <th>Chi đoàn</th>
                                        <td class="full value"><?php echo $member['Union']['union_name']?></td>
                                    </tr>
                                    </tbody>
                            	</table>
                        	</div>
                            <ul class="bt-space10">
                            	<li>
                            	<?php
									echo $html->link('Thông tin đoàn viên', array('controller'=>'UnionMembers',
																'action'=>'view', $member['UnionMember']['id'])); 
								?>
								</li>
                            	<li><a href="qldv-DVThamGiaPT.html">Tham gia phong trào</a></li>
                            	<li><a href="#">Gửi tin nhắn</a></li>
                            	<li><a href="#">Chuyến sinh hoạt</a></li>
                            </ul>
                        </div>
                        <div class="col3-4 lastcol fr-space2">
	                         <div class="content-box">
                                <div class="box-body">
                                    <div class="box-header clear">
                                        <h2>Quá trình hoạt động đoàn</h2>
                                    </div>
                                    
                                    <div class="box-wrap clear">
                                        <div id="eventtable">
                                                
                                            <table class="style1">
                                            <thead>
                                            <tr>
                                                <th>Năm học</th>
                                                <th>Chi đoàn</th>
                                                <th>Chức vụ</th>
                                                <th>Điểm rèn luyện</th>
                                                <th>Xếp loại</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <?php foreach($biographies as $biography){?>
                                            <tr>
                                                <th><?php echo $biography['Biography']['year'] ?></th>
                                                <td><?php echo $biography['Union']['union_name']?></td>
                                                <td><?php echo $member['Position']['position']?></td>
                                                <td><?php echo $biography['Biography']['total_point']?></td>                                                    
                                                <td>Xuất sắc</td>
                                            </tr>
                                            <?php }?>
                                            </tbody>
                                            </table>
                                        </div>
									 </div>
                                  </div>
                            </div>
                         </div>
                	</div>